package org.shj.thread.book2.chapter12.active;


class DisplayStringRequest extends MethodRequest{

	private final String str;
	
	public DisplayStringRequest(Servant servant, String str){
		super(servant, null);
		this.str = str;
	}
	
	public void execute(){
		servant.displayString(str);
	}
}
